package com.example.child_protection.dao;

import com.example.child_protection.model.AttrModel;
import com.example.child_protection.model.CategoryAttrModel;
import org.springframework.stereotype.Repository;

/**
 * 类目属性关联dao
 * @author Biz
 */
@Repository
public interface CategoryAttrDao extends BaseDao<CategoryAttrModel,Long> {


    /**
     * @Title: deleteForLogic
     * @Description: 删除(逻辑删除)
     * @param id
     * @return
     * @return int
     */
    public int deleteByModel( CategoryAttrModel model );
}